import { ElMessage } from "element-plus";

export const useMessage = (message: string, type: string = "success") => {
  ElMessage({
    message,
    type
  });
};
